package com.atguigu.guli.service.cms.feign;

import com.atguigu.guli.service.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "service-edu" ,fallback = com.atguigu.guli.service.cms.feign.impl.EDUFeignClientImpl.class)
public interface EDUFeignClient {
    @GetMapping("/api/edu/teacher/getHotTeacher")
    public R getHotTeacher();
    @GetMapping("api/edu/course/getHotCourse")
    public  R getHotCourse();
}
